package sch.frog.behavioral.observer;

public class ConcreteObserverA implements Observer {

    private String name;

    public ConcreteObserverA(String name) {
        this.name = name;
    }

    @Override
    public void update() {
        System.out.println(name + " 收到通知! 准备执行xxx工作.");
    }
}
